<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>

<body>
    <!--转单 -->
    <c:if test="${count > 1}">
        <c:forEach var="p" items="${list}">
            <input value="${p.scProductOrderNo}">
            <input value="${p.customerName}">
            <input value="${p.productName}">
            <br>
        </c:forEach>
    </c:if>
            <div class="distribPersonel" id="transferOrderPageBox">
    <form action="" id="transferOrderBoxForm" >
        <table class="add-table">
            <tr>
                <th><span class="form-label required">转单给：</span></th>
                <td>
                    <div class="layui-input-inline select2-inline">
                        <select  id="transferUserId" name="transferUserId" class="transferUserId" >
                            <option value>请选择</option>
                        </select>
                    </div>
                </td>
            </tr>
            <tr>
                <th><span class="form-label required">备注：</span></th>
                <td>
                    <div class="layui-input-inline select2-inline">
                         <textarea class="icass-textarea" rows="5" style="width: 179px;" id="transfer_order_remark" name="transfer_order_remark" placeholder="请描述转单原因"></textarea>
                    </div>
                </td>
            </tr>
        </table>
        </form>
    </div>
    <input type="hidden" id="list" name="list" value="${list}">
<script src="${rootUrl}/static/js/zzsc/common/sc_chooseUser.js?v=${version}" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(function(){
	//初始化分配人员选择
	chooseUserPlug.init($('.transferUserId'),{//转单人员
        url:sysInfo.basePath+'/zzsc/common/find_user_choose.do',
        select:false,
        // multiple:true,// 单选false或不写该参数，多选true
        otherParam:{
            /**
             * type: 用户信息选择类型（必填）
             *       all:全部用户，division：当前登录人所在事业部，department:当前登录人所在部门及以下，role: 查询指定角色用户，
             * roleCode : 角色Code，（type为role时，必填）
             * locked: 用户状态，（选填，默认全部状态）
             *      0、正常；1、锁定；2、离职
             */
            type:'department',
            locked:'0'
        }

    });
});
</script>